public class Example12_4 {
    public static void main(String args[]) {
        House2 house = new House2();
        house.setWater(10);
        house.dog.start();
        house.cat.start();
    }
}
